﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using wepoam;

namespace Armer
{
    public class Calculator
    {
        private int fullCost;
        public Calculator()
        {
            fullCost = 0;
        }
        public int Calculate(Armament a)
        {
            foreach (var item in a.Arms)
            {
                fullCost += item.GetCost();
            }
            return fullCost;
        }
    }
}
